* {
  margin: 0;
  padding: 0;
}

ul, li {
  list-style-type: none;
}

.container {
  min-width: 220px;
  padding: 15px;
  box-sizing: border-box;
}

.header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  text-align: center;
}

.header .logo {
  width: 20px;
  height: auto;
  margin-right: 10px;
}

.block {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #dcdfe6;
}

.block .title {
  margin-bottom: 10px;
}

.block .title .main {
  font-weight: bold;
}

.block .title .sub {
  margin-top: 7px;
  font-size: 0.7rem;
  color: #606266;
  font-weight: normal;
}

.switch-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.switch-container input[type='checkbox'].switch{
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
  width: 40px;
  height: 20px;
  background: #ccc;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .3s, background-color .3s;
}

.switch-container input[type='checkbox'].switch::after {
  content: '';
  display: inline-block;
  width: 1rem;
  height:1rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0, 0, 2px, #999;
  transition:.4s;
  top: 2px;
  position: absolute;
  left: 2px;
}

.switch-container input[type='checkbox'].switch:checked {
  background: #298df7;
}

.switch-container input[type='checkbox'].switch:checked::after {
  content: '';
  position: absolute;
  left: 55%;
  top: 2px;
}

.domain-container {
  margin-top: 10px;
}

.domain-container .domain-list-item {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  margin-bottom: 3px;
}

.domain-container .domain-list-item .dot {
  position: relative;
  bottom: 1px;
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 7px;
  background-color: #67C23A;
}

.domain-container .domain-list-item .dot-stop {
  background-color: #8c8c8c;
}

.domain-container .domain-list-item .url {
  max-width: 160px;
  word-break: break-all;
  box-sizing: border-box;
}

.domain-container .domain-list-item .operations {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  flex-shrink: 0;
  margin-left: 10px;
}

.domain-container .domain-list-item .operations .btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  margin-left: 3px;
  cursor: pointer;
}

.domain-container .domain-list-item .operations .btn .icon {
  width: 17px;
  height: auto;
}

.domain-container .input {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 15px;
}

.domain-container .input .input-item {
  width: 100%;
  height: 32px;
  padding: 5px 10px;
  line-height: 32px;
  border: 1px solid #e4e7ed;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 0.8rem;
  overflow: hidden;
  outline-style: none;
}

.domain-container .input .input-item:focus-visible {
  border-color: #298df7;
}

.domain-container .input .btn {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 32px;
  padding: 5px;
  margin-left: 7px;
  /* background-color: #298df7; */
  border: 1px solid #298df7;
  color: #298df7;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 0.8rem;
  /* font-weight: bold; */
  overflow: hidden;
  cursor: pointer;
  transition: all 0.16s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.domain-container .input .btn:hover {
  background-color: #298df7;
  color: #fff;
}

.footer {
  margin-top: 20px;
  text-align: center;
  color: #909399;
  font-size: 0.8rem;
}